package org.future.task.core.handler;

import java.util.List;

public interface Commit<Data> {

    List<Data> getBatch(String queueName, int size) throws InterruptedException;

}
